﻿namespace CloudNinja.Metering.Common.Configuration
{
    using System;

    [AttributeUsage(AttributeTargets.Class)]
    public class ProviderConfigElementTypeAttribute : Attribute
    {
        public ProviderConfigElementTypeAttribute(string configurationTypeString)
        {
            this.ConfigurationType = Type.GetType(configurationTypeString);
        }

        public Type ConfigurationType { get; private set; }
    }
}
